package momo.app.comms;

import java.util.Arrays;
import java.util.List;

import junit.framework.TestCase;

public class RcvChannelTest extends TestCase {

	public void testConvertIdsToPrintFormat() {
		
		List<Integer> missingIds = Arrays.asList(1,2,3, 4, 8, 10,11);
		String pf = new RcvChannel().convertIdsToPrintFormat(missingIds).toString();
		
		assertEquals("1-4,8,10-11", pf);
	}

}
